﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPVSX.Explorer.Extensions.NodeInformation
{
    /// <summary>
    /// Contains basic data about a single Web Part Gallery on the SharePoint site. This class is 
    /// serializable so that instances of it can be sent between the SPVSX.Explorer.Extensions and 
    /// SPVSX.Explorer.Commands assemblies.
    /// </summary>
    [Serializable]
    public class WebPartGalleryNodeInfo
    {
        #region Properties

        /// <summary>
        /// Gets or sets the site id guid
        /// </summary>
        public Guid SiteId { get; set; }

        /// <summary>
        /// Gets or sets the id
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// Gets or sets the name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the image url
        /// </summary>
        public string Url { get; set; }

        #endregion
    }
}
